home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
gnu
/
nihcl-30.lha
/
nihcl-3.0
/
ex
/
ex2-3.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-15
|
336b
|
15 lines
// ex2-3.c -- Add instances of class BigInt
// $Header: /afs/alw.nih.gov/unix/sun4_40c/usr/local/src/nihcl-3.0/share/ex/RCS/ex2-3.c,v 3.0 90/05/15 22:45:05 kgorlen Rel $
#include "BigInt.h"
main()
{
BigInt a = "25123654789456";
BigInt b = "456023398798362";
BigInt c;
c = a + b + 47;
c.print(); printf("\n");
}